package com.jemmyee.pizza.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name = "prepaid_vip")
public class PrepaidVip implements java.io.Serializable {
	private Integer prepaidId;
	private String prepaidName;
	private String prepaidType;
	private Double prepaidPrice;
	private String prepaidMeterType;
	private String prepaidTel;
	private String prepaidAddress;
	private Date createTime;
	private String createUser;
	private String remark;
	private String password;
	private Integer prepaidGqcs;
	private Double prepaidGqzl;
	private Date prepaidGqrq;
	private Double prepaidXbzm;
	private Integer prepaidBqcs;
	private Date prepaidFkrq;
	private String prepaidGqd;
	private Integer prepaidKpbh;
	private String prepaidZxh;
	private Integer vipPoint;
	private String meterName;

	@GenericGenerator(name = "generator", strategy = "assigned")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "prepaid_id", unique = true, nullable = false)
	public Integer getPrepaidId() {
		return prepaidId;
	}

	public void setPrepaidId(Integer prepaidId) {
		this.prepaidId = prepaidId;
	}

	@Column(name = "prepaid_name", length = 50)
	public String getPrepaidName() {
		return prepaidName;
	}

	public void setPrepaidName(String prepaidName) {
		this.prepaidName = prepaidName;
	}

	@Column(name = "prepaid_type", length = 50)
	public String getPrepaidType() {
		return prepaidType;
	}

	public void setPrepaidType(String prepaidType) {
		this.prepaidType = prepaidType;
	}

	@Column(name = "prepaid_price")
	public Double getPrepaidPrice() {
		return prepaidPrice;
	}

	public void setPrepaidPrice(Double prepaidPrice) {
		this.prepaidPrice = prepaidPrice;
	}

	@Column(name = "prepaid_meter_type", length = 50)
	public String getPrepaidMeterType() {
		return prepaidMeterType;
	}

	

	public void setPrepaidMeterType(String prepaidMeterType) {
		this.prepaidMeterType = prepaidMeterType;
	}

	@Column(name = "prepaid_tel", length = 50)
	public String getPrepaidTel() {
		return prepaidTel;
	}

	public void setPrepaidTel(String prepaidTel) {
		this.prepaidTel = prepaidTel;
	}

	@Column(name = "prepaid_address", length = 200)
	public String getPrepaidAddress() {
		return prepaidAddress;
	}

	public void setPrepaidAddress(String prepaidAddress) {
		this.prepaidAddress = prepaidAddress;
	}

	@Column(name = "create_time")
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column(name = "create_user", length = 50)
	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	@Column(name = "remark", length = 50)
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name = "password", length = 50)
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Column(name = "prepaid_gqcs")
	public Integer getPrepaidGqcs() {
		return prepaidGqcs;
	}

	public void setPrepaidGqcs(Integer prepaidGqcs) {
		this.prepaidGqcs = prepaidGqcs;
	}

	@Column(name = "prepaid_gqzl")
	public Double getPrepaidGqzl() {
		return prepaidGqzl;
	}

	public void setPrepaidGqzl(Double prepaidGqzl) {
		this.prepaidGqzl = prepaidGqzl;
	}

	@Column(name = "prepaid_gqrq")
	public Date getPrepaidGqrq() {
		return prepaidGqrq;
	}

	public void setPrepaidGqrq(Date prepaidGqrq) {
		this.prepaidGqrq = prepaidGqrq;
	}

	@Column(name = "prepaid_xbzm")
	public Double getPrepaidXbzm() {
		return prepaidXbzm;
	}

	public void setPrepaidXbzm(Double prepaidXbzm) {
		this.prepaidXbzm = prepaidXbzm;
	}

	@Column(name = "prepaid_bqcs")
	public Integer getPrepaidBqcs() {
		return prepaidBqcs;
	}

	public void setPrepaidBqcs(Integer prepaidBqcs) {
		this.prepaidBqcs = prepaidBqcs;
	}

	@Column(name = "prepaid_fkrq")
	public Date getPrepaidFkrq() {
		return prepaidFkrq;
	}

	public void setPrepaidFkrq(Date prepaidFkrq) {
		this.prepaidFkrq = prepaidFkrq;
	}

	@Column(name = "prepaid_gqd", length = 50)
	public String getPrepaidGqd() {
		return prepaidGqd;
	}

	public void setPrepaidGqd(String prepaidGqd) {
		this.prepaidGqd = prepaidGqd;
	}

	@Column(name = "prepaid_kpbh")
	public Integer getPrepaidKpbh() {
		return prepaidKpbh;
	}

	public void setPrepaidKpbh(Integer prepaidKpbh) {
		this.prepaidKpbh = prepaidKpbh;
	}

	@Column(name = "prepaid_zxh")
	public String getPrepaidZxh() {
		return prepaidZxh;
	}

	public void setPrepaidZxh(String prepaidZxh) {
		this.prepaidZxh = prepaidZxh;
	}

	@Column(name = "vip_point")
	public Integer getVipPoint() {
		return vipPoint;
	}

	public void setVipPoint(Integer vipPoint) {
		this.vipPoint = vipPoint;
	}
	
	@Column(name = "meter_name",length=50)
	public String getMeterName() {
		return meterName;
	}

	public void setMeterName(String meterName) {
		this.meterName = meterName;
	}

	public PrepaidVip(Integer prepaidId,String prepaidName, String prepaidType, Double prepaidPrice,
			String prepaidMeterType, String prepaidTel, String prepaidAddress,
			Date createTime, String createUser, String remark, String password,
			Integer prepaidGqcs, Double prepaidGqzl, Date prepaidGqrq,
			Double prepaidXbzm, Integer prepaidBqcs, Date prepaidFkrq,
			String prepaidGqd, Integer prepaidKpbh, String prepaidZxh,
			Integer vipPoint,String meterName) {
		super();
		this.prepaidId = prepaidId;
		this.prepaidName = prepaidName;
		this.prepaidType = prepaidType;
		this.prepaidPrice = prepaidPrice;
		this.prepaidMeterType = prepaidMeterType;
		this.prepaidTel = prepaidTel;
		this.prepaidAddress = prepaidAddress;
		this.createTime = createTime;
		this.createUser = createUser;
		this.remark = remark;
		this.password = password;
		this.prepaidGqcs = prepaidGqcs;
		this.prepaidGqzl = prepaidGqzl;
		this.prepaidGqrq = prepaidGqrq;
		this.prepaidXbzm = prepaidXbzm;
		this.prepaidBqcs = prepaidBqcs;
		this.prepaidFkrq = prepaidFkrq;
		this.prepaidGqd = prepaidGqd;
		this.prepaidKpbh = prepaidKpbh;
		this.prepaidZxh = prepaidZxh;
		this.vipPoint = vipPoint;
		this.meterName = meterName;
	}

	public PrepaidVip() {
		super();
	}

}
